<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ page contentType="text/html;charset=UTF-8"%>

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>IP RAN综合管理系统</title>

	<link href="<s:url value="/"/>resources/css/bootstrap.css" rel="stylesheet"/>
	<link href="<s:url value="/"/>resources/css/jqueryui/jquery-ui-1.9.1.css" rel="stylesheet"/>
	<link href="<s:url value="/"/>resources/css/tabpanel/core.css" rel="stylesheet" />
	<link href="<s:url value="/"/>resources/css/tabpanel/TabPanel.css" rel="stylesheet"/>
	<link href="<s:url value="/"/>resources/css/zTree/zTreeStyle/zTreeStyle.css" rel="stylesheet"/>
	<link href="<s:url value="/"/>resources/js/jtable/scripts/jtable/themes/lightcolor/blue/jtable.css" rel="stylesheet"/>
	<link href="<s:url value="/"/>resources/css/index.css" rel="stylesheet"/>
	
	<!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
	<!--[if lt IE 9]>
	  <script src="<s:url value="/"/>resources/js/charisma/html5.js"></script>
	<![endif]-->

	<!-- The fav icon -->
	<link rel="shortcut icon" href="<s:url value="/"/>resources/images/favicon.ico"/>
	<script>
	 	var appCtx = "<s:url value="/"/>";
	</script>
		
</head>

<body>
	<!-- topbar starts -->
	<div class="navbar">
		<div class="navbar-inner">
			<div class="container">
				<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</a>
				<a class="brand" href="<s:url value="/"/>secure/index.html"> <img alt="Logo" src="<s:url value="/"/>resources/images/logo-chinanet.png" border="0" style="width:200px; height:30px;"/> <span></span></a>
				
				<!-- Everything you want hidden at 940px or less, place within here -->
				<div class="nav-collapse collapse">
					<!-- .nav, .navbar-search, .navbar-form, etc -->
					<c:forEach var="item" items="${principal.sysUser.sysModules}">
					<ul class="nav">
					  <li class="dropdown">
					      <a href="#" class="dropdown-toggle" data-toggle="dropdown">
					          ${item.moduleName}
					          <b class="caret"></b>
					      </a>
					      <c:if test="${fn:length(item.children)>0}">
						  <ul class="dropdown-menu">
						  <c:forEach var="childMenu" items="${item.children}">
						  	<c:if test="${fn:length(childMenu.children)==0}">
								<li><a href="#" onclick="loadPageAjax('${childMenu.moduleId}','${childMenu.moduleName}','${childMenu.moduleUrl}')">${childMenu.moduleName}</a></li>
							</c:if>
							<c:if test="${fn:length(childMenu.children)>0}">
								<%@include file="menuTree.jsp"%>
							</c:if>
						  </c:forEach>
						  </ul>
						  </c:if>
					  </li>
					</ul>
					</c:forEach>
				</div>
				<div class="userClass">
					<span class="icon32 icon-white icon-user"></span>
					<a>${principal.sysUser.loginName}</a>
					<a href="javascript:void(0);" style="margin-left:20px;" onclick="updatePw('${principal.sysUser.userId}'); return false;">修改密码</a>
					<a href="<s:url value="/"/>open/logout.html" style="margin-left:20px;">注销</a>
				</div> 
			</div>
		</div>
	</div>
	<!-- topbar ends -->
	<div id="tab_containner" class="container-fluid">
		<div id="tab" class="row-fluid">
		</div><!--/fluid-row-->	
		
		
		<hr/>
		<footer>
			<p class="pull-left">&copy; <a href="#" target="_blank">中国电信广东公司</a> 2013</p>
			<p class="pull-right">技术支持: <a href="#">天讯瑞达通信技术有限公司</a></p>
		</footer>
		
	</div><!--/.fluid-container-->

	
	<!-- 引入模态框 -->
	<jsp:include page="nm/devModelModal.jsp"></jsp:include>
	<jsp:include page="nm/devTemplateModal.jsp"></jsp:include>
	<jsp:include page="user/addUser.jsp"></jsp:include>
	<jsp:include page="syspro/sysProModel.jsp"></jsp:include>
	<jsp:include page="dictionary/dictionaryModal.jsp" ></jsp:include>
	<!-- external javascript
	================================================== -->
	<!-- jQuery -->
	<script src="<s:url value="/"/>resources/js/jquery/jquery-1.8.2.min.js"></script>
	
	<!-- jQuery UI -->
	<script src="<s:url value="/"/>resources/js/jqueryui/jquery-ui-1.9.1.js"></script>
	
	<!-- bootstrap -->
	<script src="<s:url value="/"/>resources/js/bootstrap.js"></script>
	<script src="<s:url value="/"/>resources/js/bootstrap-validation.js"></script>
	
	<!-- tabpanel -->
	<script src="<s:url value="/"/>resources/js/tabpanel/Fader.js"></script>
	<script src="<s:url value="/"/>resources/js/tabpanel/TabPanel.js"></script>
	<script src="<s:url value="/"/>resources/js/tabpanel/Math.uuid.js"></script>
	<script src="<s:url value="/"/>resources/js/tabpanel/Drag.js"></script>
	
	<!-- ztree -->
	<script src="<s:url value="/"/>resources/js/zTree/jquery.ztree.all-3.5.js"></script>

	<!-- jtable -->
	<script src="<s:url value="/"/>resources/js/jtable/scripts/jtable/jquery.jtable.js"></script>
	<script src="<s:url value="/"/>resources/js/jtable/scripts/jtable/jquery.jtable.zh-CN.js"></script>
	
	<!-- customer -->
	<script src="<s:url value="/"/>resources/js/index.js"></script>	
</body>
</html>
